package com.nineclock.sign.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.nineclock.sign.pojo.SignInfo;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

public interface SignInfoMapper extends BaseMapper<SignInfo> {

    @Select("SELECT COUNT(*) FROM sign_info WHERE company_user_id=#{id} AND create_date=#{date}")
    public Long queryCount(@Param("id")Long companyUserId,@Param("date") String date);
}
